package ink.onei.production.service;

import ink.onei.production.entity.Order;
import ink.onei.production.exception.OperateException;
import ink.onei.production.vo.OrderDetailVO;

import java.util.List;

/**
 * @Author: nekotako
 * @Description: TODO
 * @Date: 26/12/2023 20:50 Tuesday
 */

public interface IOrderService {

    Integer add(OrderDetailVO orderDetail) throws OperateException;

    Integer modify(Order order);

    Integer delete(Order order);

    Integer deleteBatch(List<Order> orderList);

    List<OrderDetailVO> getOrderList(OrderDetailVO orderDetail,
                                     Integer id, String customerName, String goodsName, String priceUnit, String status);
}
